package cn.edu.scau.cmi.xuxingao.abstractFactory.factory;

import cn.edu.scau.cmi.xuxingao.abstractFactory.domainAbstractClass.Meat;

public abstract class MeatFactory {
	public static MeatFactory getFactory(String brand) {
		switch(brand) {
		case "Aonong":
			return new AonongFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Wens":
			return new WensFactory();
		default:
			return null;
		}
	}
	
	public abstract Meat produceBeef();
	public abstract Meat produceChicken();
	public abstract Meat producePork();
}
